<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Отправка формы Ajax</title>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'></script>
<script type="text/javascript" src="ajax.js"></script>
</head>

<body>
<!--<form action="" id="myform">
<input type="text" name="mydata" id="mydata" />
<input type="button" onclick="send();" value="Отправить" 
</form>
-->
<form action="" id="myform">
<input type="text" name="mydata" id="mydata" />
<input type="button" onclick="send();" value="Отправить"  />
</form> 
<div id="result"></div>
</body>
</html>